package cn.com.headfree.call;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.gta.edu.sdk.common.dto.ResultData;

import cn.com.headfree.call.callback.FrontFrameServiceCallBack;

@FeignClient(value="comm-front-frame",fallback=FrontFrameServiceCallBack.class)
@Service("frontFrameServiceCall")
public interface IFrontFrameServiceCall {
	@RequestMapping(value="/comm-front-frame/menu/findLabelByDomainId/{pageSize}/{pageNo}",method=RequestMethod.GET)
	public ResultData findLabelByDomainId(@RequestParam("pageSize") int pageSize,@RequestParam("pageNo") int pageNo);
	
	@RequestMapping(value="/comm-front-frame/menu/findUserByLabelId/{labelId}/{domainId}",method=RequestMethod.GET)
	public ResultData findUserByLabelId(@RequestParam("labelId") String labelId,@RequestParam("domainId") String domainId);
}
